name_list= ['Tom','Jack','Alice']
i = 0
while i < len(name_list):
    print(name_list[i])
    i += 1

for j in range(len(name_list)):
    print(name_list[j])
    print(j)
for k in name_list:
    print(k)

